package work.mediway.mdm.biz.entity.patient;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 患者证件信息
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2020/12/10
 */
@Data
@TableName(value = "mdm_User.PA_Identifier")
public class PaIdentifier {
    /**
     * 患者主索引,PAPatient的RowId
     */
    @TableId(value = "PAPATID_PatientID", type = IdType.INPUT)
    private String patPatientId;

    /**
     * 证件类型
     */
    @TableField(value = "PAPATID_TypeCode")
    private String patTypeCode;

    /**
     * 证件号码
     */
    @TableField(value = "PAPATID_No")
    private String patNo;

    /**
     * 照片链接
     */
    @TableField(value = "PAPATID_PhotoURL")
    private String patPhotoUrl;

    /**
     * 照片链接
     */
    @TableField(value = "PAPATID_Photo")
    private String patPhoto;

    /**
     * 最后更新人编码
     */
    @TableField(value = "PAPATID_UpdateUserCode")
    private String lastUpdateUserId;

    /**
     * 时间戳
     */
    @TableField(value = "UpdateDate")
    private String updateDate;

    /**
     * 时间戳
     */
    @TableField(value = "UpdateTime")
    private String updateTime;

    /**
     * 最后更新日期
     */
    @TableField(value = "PAPATID_UpdateDate")
    private String lastUpdateDate;

    /**
     * 最后更新时间
     */
    @TableField(value = "PAPATID_UpdateTime")
    private String lastUpdateTime;

    /**
     * 集团id
     */
    @TableField(value = "deg_groupid")
    private Integer degGroupId;
}